package com.iplant.aps.service.po.aps;

import com.iplant.basic.service.basicenum.bfc.FMCShiftType;

import java.util.Calendar;

public class APSCapacityUsed {


    public int ProductID;

    public int PartPointID;

    public int EntityID;

    public float UsedCapacity=0.0f;

    public int ShiftType;

    public Calendar ShiftStartTime= Calendar.getInstance();

    public Calendar CurrentDate = Calendar.getInstance();

    public double SetCapacity=0.0f;

    public APSCapacityUsed(){}
    public APSCapacityUsed(int wEntityID,int wProductID ,int wPartPointID ,Calendar wCurrentDate, Calendar wShiftStartTime,int wShiftType,double wSetCapacity,float wUsedCapacity){
        this.EntityID=wEntityID;
        this.ProductID=wProductID;
        this.PartPointID=wPartPointID;
        this.UsedCapacity=wUsedCapacity;
        this.ShiftType=wShiftType;
        this.CurrentDate=wCurrentDate;
        this.SetCapacity=wSetCapacity;
        this.ShiftStartTime=wShiftStartTime;
    }

    public APSCapacityUsed Clone(){
        APSCapacityUsed wAPSCapacityUsed=new APSCapacityUsed();
        wAPSCapacityUsed.EntityID=this.EntityID;
        wAPSCapacityUsed.ProductID=this.ProductID;
        wAPSCapacityUsed.UsedCapacity=this.UsedCapacity;
        wAPSCapacityUsed.ShiftType=this.ShiftType;
        wAPSCapacityUsed.CurrentDate=this.CurrentDate;
        wAPSCapacityUsed.SetCapacity=this.SetCapacity;
        wAPSCapacityUsed.ShiftStartTime=this.ShiftStartTime;
        return wAPSCapacityUsed;
    }


}
